Optimal. Leaf size=145 \[ \frac {3 A b^2 \sin (c+d x)}{2 d (b \cos (c+d x))^{2/3}}+\frac {3 (A-2 C) \sin (c+d x) (b \cos (c+d x))^{4/3} \, _2F_1\left (\frac {1}{2},\frac {2}{3};\frac {5}{3};\cos ^2(c+d x)\right )}{8 d \sqrt {\sin ^2(c+d x)}}-\frac {3 b B \sin (c+d x) \sqrt [3]{b \cos (c+d x)} \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {7}{6};\cos ^2(c+d x)\right )}{d \sqrt {\sin ^2(c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.19, antiderivative size = 145, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 41, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.098, Rules used = {16, 3021, 2748, 2643} \[ \frac {3 A b^2 \sin (c+d x)}{2 d (b \cos (c+d x))^{2/3}}+\frac {3 (A-2 C) \sin (c+d x) (b \cos (c+d x))^{4/3} \, _2F_1\left (\frac {1}{2},\frac {2}{3};\frac {5}{3};\cos ^2(c+d x)\right )}{8 d \sqrt {\sin ^2(c+d x)}}-\frac {3 b B \sin (c+d x) \sqrt [3]{b \cos (c+d x)} \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {7}{6};\cos ^2(c+d x)\right )}{d \sqrt {\sin ^2(c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 16
Rule 2643
Rule 2748
Rule 3021
Rubi steps
\begin {align*} \int (b \cos (c+d x))^{4/3} \left (A+B \cos (c+d x)+C \cos ^2(c+d x)\right ) \sec ^3(c+d x) \, dx &=b^3 \int \frac {A+B \cos (c+d x)+C \cos ^2(c+d x)}{(b \cos (c+d x))^{5/3}} \, dx\\ &=\frac {3 A b^2 \sin (c+d x)}{2 d (b \cos (c+d x))^{2/3}}+\frac {3}{2} \int \frac {\frac {2 b^2 B}{3}-\frac {1}{3} b^2 (A-2 C) \cos (c+d x)}{(b \cos (c+d x))^{2/3}} \, dx\\ &=\frac {3 A b^2 \sin (c+d x)}{2 d (b \cos (c+d x))^{2/3}}+\left (b^2 B\right ) \int \frac {1}{(b \cos (c+d x))^{2/3}} \, dx-\frac {1}{2} (b (A-2 C)) \int \sqrt [3]{b \cos (c+d x)} \, dx\\ &=\frac {3 A b^2 \sin (c+d x)}{2 d (b \cos (c+d x))^{2/3}}-\frac {3 b B \sqrt [3]{b \cos (c+d x)} \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {7}{6};\cos ^2(c+d x)\right ) \sin (c+d x)}{d \sqrt {\sin ^2(c+d x)}}+\frac {3 (A-2 C) (b \cos (c+d x))^{4/3} \, _2F_1\left (\frac {1}{2},\frac {2}{3};\frac {5}{3};\cos ^2(c+d x)\right ) \sin (c+d x)}{8 d \sqrt {\sin ^2(c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.24, size = 117, normalized size = 0.81 \[ -\frac {3 b^2 \sqrt {\sin ^2(c+d x)} \csc (c+d x) \left (\cos (c+d x) \left (4 B \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {7}{6};\cos ^2(c+d x)\right )+C \cos (c+d x) \, _2F_1\left (\frac {1}{2},\frac {2}{3};\frac {5}{3};\cos ^2(c+d x)\right )\right )-2 A \, _2F_1\left (-\frac {1}{3},\frac {1}{2};\frac {2}{3};\cos ^2(c+d x)\right )\right )}{4 d (b \cos (c+d x))^{2/3}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.72, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (C b \cos \left (d x + c\right )^{3} + B b \cos \left (d x + c\right )^{2} + A b \cos \left (d x + c\right )\right )} \left (b \cos \left (d x + c\right )\right )^{\frac {1}{3}} \sec \left (d x + c\right )^{3}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (C \cos \left (d x + c\right )^{2} + B \cos \left (d x + c\right ) + A\right )} \left (b \cos \left (d x + c\right )\right )^{\frac {4}{3}} \sec \left (d x + c\right )^{3}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.62, size = 0, normalized size = 0.00 \[ \int \left (b \cos \left (d x +c \right )\right )^{\frac {4}{3}} \left (A +B \cos \left (d x +c \right )+C \left (\cos ^{2}\left (d x +c \right )\right )\right ) \left (\sec ^{3}\left (d x +c \right )\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (C \cos \left (d x + c\right )^{2} + B \cos \left (d x + c\right ) + A\right )} \left (b \cos \left (d x + c\right )\right )^{\frac {4}{3}} \sec \left (d x + c\right )^{3}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (b\,\cos \left (c+d\,x\right )\right )}^{4/3}\,\left (C\,{\cos \left (c+d\,x\right )}^2+B\,\cos \left (c+d\,x\right )+A\right )}{{\cos \left (c+d\,x\right )}^3} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________